// confirmColor: 确认按钮的文字颜色，必须是 16 进制格式的颜色字符串
export function IKnowModalOption(content: string, confirmColor?: string): Taro.showModal.Option {
  return confirmColor ? {
    content: content,
    showCancel: false,
    confirmText: "我知道了",
    confirmColor: confirmColor
  } : {
    content: content,
    showCancel: false,
    confirmText: "我知道了"
  };
}
